home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 83
/
(Vol 83) My Disc.iso
/
Games
/
bee_game.swf
/
scripts
/
frame_22
/
DoAction.as
Wrap
Text File
|
2008-08-07
|
1KB
|
52 lines
function init()
{
pause_menu._visible = false;
isPaused = false;
stage_sound.stop();
if(suara)
{
stage_sound2.start(0,20000);
}
level = 3;
player._xscale = 130;
player._yscale = 130;
start_ani._visible = true;
completed_ani._visible = false;
start_ani.gotoAndPlay(1);
completed_ani.gotoAndStop(1);
modegame = 1;
nectarbar._alpha = 0;
webbar._alpha = 0;
timerkebal = 0;
diam = false;
diam2 = false;
jmlnectar = 0;
hpbunga = 20;
hpplayer = maxhplayer;
hppanel.gotoAndStop(hpplayer);
target = 6;
speed = 0;
topspeed = 5 + lvmove * 2;
accel = lvmove;
jumweb = 5;
jumbunga = 6;
jumpohon = 11;
jumlalat = 3;
time = 1200;
var _loc1_ = 1;
while(_loc1_ <= jumbunga)
{
bunga_init(_loc1_);
_loc1_ = _loc1_ + 1;
}
_loc1_ = 1;
while(_loc1_ <= jumweb)
{
web_init(_loc1_);
_loc1_ = _loc1_ + 1;
}
}
stop();
init();
onEnterFrame = looputama;